Steply

Solve x^2 + y^2 = 2 and y = x

Step by step, with the reason for every step · Nonlinear systems · Algebra 2

Step by step

The question

Question: solve x² + y² = 2 and y = x.

x2 + y2 = 2①

We call them ① and ②.

We want the points (x, y) that make both true.

y = x②

① is a circle, and ② is a line.

Not both lines, so this is called a nonlinear system.

x² + y² = r²: a circle
y = mx + b: a line

1 Put ② into ①

In ②, y is already alone: y = x.

So in ①, we write (x) in place of y.

The brackets keep it together.

x2 + (x)2 = 2

2 Open the brackets

(x) squared is x times x: x².

(x)2 = (x) × (x) = x2

So we get x² + x² = 2.

x2 + x2 = 2

Like terms together: x² and x² make 2x².

2x2 = 2

We want 0 on one side.

We take away 2 on both sides.

2x2 − 2 = 2 − 2

Now we have 2x² − 2 = 0.

2x2 − 2 = 0

Every number can be divided by 2.

We divide both sides by 2.

0 divided by 2 is still 0.

x2 − 1 = 0

3 Get x² alone

There is no x term, so we get x² by itself.

To remove the − 1, we add 1 on both sides.

x2 − 1 + 1 = 0 + 1

0 + 1 = 1.

Now we have x² = 1.

x2 = 1

4 Square root of both sides

x squared is 1.

So x is the square root of 1, or minus it.

Minus times minus is plus, so the negative one works too.

x² = k → x = √k or x = −√k
1 × 1 = 1, (−1) × (−1) = 1

1 times 1 is 1.

So x = 1 or x = −1.

x = 1 or x = −1

5 Find y

Each x goes into the line ②: x = −1 gives y = −1.

y = (−1) = −1

And x = 1 gives y = 1.

y = 1

So the two points are (−1, −1) and (1, 1).

= (−1, −1) and (1, 1)

6 Check

Let's check with a picture.

We draw both on a grid.

① is a circle around (0, 0).

② is a line.

They meet at (−1, −1) and (1, 1): our answers.

Let's check each point in both equations.

First (−1, −1) in ①: x² + y² is 2.

True!

① (−1, −1): (−1)2 + (−1)2 = 1 + 1 = 2

In ②: −1 again.

It works!

② (−1, −1): y = (−1) = −1

Now (1, 1) in ①: x² + y² is 2.

True!

① (1, 1): 12 + 12 = 1 + 1 = 2

In ②: 1 again.

It works!

② (1, 1): y = 1

Let's look back.

First: put ② into ①.

Then: open the brackets.

Then: get x² alone.

Then: square root of both sides.

Then: find y.

Last: check.

Answer
= (−1, −1) and (1, 1)

Your turn

Try this one yourself, then check:

Solve x2 + y2 = 18, y = x
Show the answer
(−3, −3) and (3, 3)

More from Nonlinear systems

The whole lesson: Nonlinear systems →