Maths Olympiad Prep

Library / /162 of 520

Algebra Difficulty 3.0 Junior Find the answer

If the complex number z=1+aiiz=\frac{1+ai}{i}, where aRa\in \mathbb{R}, has its real part equal to its imaginary part, then z=|z|= .

A number or a short expression. Spacing and $ signs are ignored.

Solution

Analysis

This question examines the operation rules of complex numbers and the definitions of real and imaginary parts, which is a basic question.

By using the operation rules of complex numbers and the definitions of real and imaginary parts, we can obtain the solution.

Solution

Given the complex number z=1+aii=(1+ai)ii2=a+iz= \frac{1+ai}{i}= \frac{(1+ai)i}{i^{2}}=-a+i,

Since the real part and the imaginary part of ZZ are equal,

Therefore, a=1-a=1,

Solving this, we get a=1a=-1. Therefore, z=1+1=2|z|= \sqrt{1+1}= \sqrt{2}

Hence, the answer is 2\boxed{\sqrt{2}}.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.