ergeben
to show / yield
To have as a result or consequence; to lead to something.
Die Untersuchung ergab, dass die Ursache ein technischer Defekt war.
The investigation showed that the cause was a technical defect.

to result / surrender
Loading your saved state.
to show / yield
To have as a result or consequence; to lead to something.
Die Untersuchung ergab, dass die Ursache ein technischer Defekt war.
The investigation showed that the cause was a technical defect.

The prefix 'er-' is inseparable. It stays firmly attached to the verb 'geben' (to give) in all sentence forms and is not placed at the end of the sentence.
Die Analyse ergab ein überraschendes Resultat.
The analysis yielded a surprising result.
This verb can be used reflexively ('sich ergeben') or non-reflexively ('ergeben'). Without 'sich', it means 'to have a result'. With 'sich', it means 'to surrender' or 'to resign oneself'.
Zwei plus zwei ergibt vier.
Two plus two equals four.
In the meaning 'to have as a result', the subject is often a word that describes a process, such as 'die Studie' (the study), 'die Berechnung' (the calculation), 'die Suche' (the search), or 'die Umfrage' (the survey).
Die Berechnung ergab eine Summe von über 1000 Euro.
The calculation yielded a total of over 1,000 euros.
When something follows logically from information, the fixed construction 'sich ergeben aus' + dative is used. The new information is the subject of the sentence.
Aus dem Gespräch ergab sich die Notwendigkeit für ein weiteres Treffen.
The conversation showed the need for another meeting.
When 'sich ergeben' means 'to surrender', the person or group one submits to is often in the dative. Typical examples are 'dem Feind' (to the enemy) or 'der Polizei' (to the police).
Nach einer langen Verfolgung ergab sich der Dieb der Polizei.
After a long chase, the thief surrendered to the police.
In the meaning 'to resign oneself', the fixed expression 'sich in sein Schicksal ergeben' (to resign oneself to one's fate) is often used. Here, 'in' takes the accusative.
Er war sehr traurig, aber schließlich ergab er sich in sein Schicksal.
He was very sad, but eventually he resigned himself to his fate.
to give
'geben' and 'ergeben' can both express a result. Especially with calculations, people often say 'Das gibt ...' in everyday speech. 'ergeben' is more precise and a bit more objective: it describes what result follows from a calculation, investigation, or situation. Learners may confuse the words because both occur with results. In simple conversations, 'geben' is possible, especially with numbers. In reports, exercises, or logical conclusions, 'ergeben' sounds more natural and precise.

Aus den neuen Zahlen ergibt sich ein anderes Ergebnis als letzte Woche.
The new figures lead to a different result than last week.
Zwei plus drei gibt fünf.
Two plus three equals five.