Finding Real and Imaginary Parts of Complex Numbers

  • Context: Undergrad 
  • Thread starter Thread starter magda3227
  • Start date Start date
  • Tags Tags
    Complex Complex number
Click For Summary

Discussion Overview

The discussion revolves around the process of finding the real and imaginary parts of a complex number, specifically the example of 12/(12+3i). Participants explore methods to separate these components, with a focus on mathematical techniques applicable in programming contexts.

Discussion Character

  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant expresses uncertainty about how to find the real and imaginary parts of the complex number 12/(12+3i) without making incorrect assumptions.
  • Another participant suggests multiplying by the complex conjugate (12-3i) to eliminate the imaginary component from the denominator.
  • A later reply acknowledges the suggestion but reflects on the oversight of not thinking of that approach initially.
  • There is a light-hearted exchange about the participant's initial hesitation and encouragement for future problem-solving.

Areas of Agreement / Disagreement

Participants do not express disagreement, but the initial poster's uncertainty indicates a lack of confidence in their understanding of the method. The discussion remains focused on the proposed technique without reaching a consensus on broader implications.

Contextual Notes

The discussion does not address potential limitations of the suggested method or any assumptions that may affect the outcome.

Who May Find This Useful

This discussion may be useful for individuals learning about complex numbers, particularly in the context of programming or mathematical computation.

magda3227
Messages
19
Reaction score
0
If I were given a complex number, such as

12/(12+3i)

in order to find the real and imaginary parts of the number, I assume that I cannot just reduce the fraction and say the real part is 1 and the imaginary part is 4. I can almost guarantee that this will not calculate the correct answer.

So how would I find the real and imaginary parts of this number?

I'm sorry to ask such a stupid question, but I am rewriting MatLab code into ANSI C and need to separate such numbers into their real and imaginary parts.

Thank you in advance.
 
Physics news on Phys.org
Multiply the top and bottom of the complex conjugate (12-3i). This clears the denominator of the imaginary component.
 
Thank you.

Sadly, I didn't think of doing that.
 
magda3227 said:
Thank you.

Sadly, I didn't think of doing that.

Why sadly?

Next time, you'll manage on your own. :smile:
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K