Question 4: Contour Plot

Select the correct ContourPlot illustration of the quadratic form:

Q = ( x − 7 ) 4 + 4 ⁢ ( x − 7 ) 2 ⁢ ( y − 10 ) 2 + ( y − 10 ) 4

[1] [0]

Step 1 of 4

Consider this family of equations:

Q = ( x − 7 ) 4 + k ⁢ ( x − 7 ) 2 ⁢ ( y − 10 ) 2 + ( y − 10 ) 4

The equation is symmetrically centered at the point ( ​ 7 ​ , ​ 10 ​ ) .

Replace all x − 7 with X and y − 10 with Y to shift this center to origin:

Q = X 4 + k ⁢ X 2 ⁢ Y 2 + Y 4

Step 2 of 4

Substitute X = r ⁢ cos ⁡ ( θ ) and Y = r ⁢ sin ⁡ ( θ ) :

Q = r 4 ⁢ ( cos 4 ⁡ ( θ ) + k ⁢ cos 2 ⁡ ( θ ) ⁢ sin 2 ⁡ ( θ ) + sin 4 ⁡ ( θ ) )

Q = r 4 ⁢ ( 1 + ( k − 2 ) ⁢ cos 2 ⁡ ( θ ) ⁢ sin 2 ⁡ ( θ ) )



0 ≤ cos 2 ⁡ ( θ ) ⁢ sin 2 ⁡ ( θ ) ≤ 1 4

The minimum of cos 2 ⁡ ( θ ) ⁢ sin 2 ⁡ ( θ ) occurs on axes ( x = 0 or y = 0 ). The maximum occurs on diagonals ( y = ± x ).

Step 3 of 4

We have k = 4 . Therefore, Q = r 4 ( 2 ⁢ sin 2 ⁡ ( θ ) ⁢ cos 2 ⁡ ( θ ) + 1 ) . Since Q values are higher along the diagonals than along the axes, the contour plot will look like closed concentric loops that are stretched along the coordinate axes.

Step 4 of 4



Note that this pattern will be centered at ( ​ 7 ​ , ​ 10 ​ ) .