Does anyone have a better method for restricting the domains of graphs using Socratic software?

1 Answer
Aug 12, 2015

I have a way to do this, but it is a bit tedious. If someone has a better way, I'm interested in learning it.

Explanation:

To restrict the domain on a Socratic graph to a bounded interval, I use:

Center of domain(center of interval): #c#
Radius of Domain (half the length of the interval): #r#

Multiply and divide by #sqrt( r^2 - (x-c)^2)#

Example

Graph #y = x# on the interval #[-1,3]#

Center 1, radius 2:

Graph: #y=x(sqrt(4-(x-1)^2))/(sqrt(4-(x-1)^2))#

graph{y=x(sqrt(4-(x-1)^2))/(sqrt(4-(x-1)^2)) [-8.376, 11.63, -2.39, 7.6]}

For an unbounded interval like #[a,oo)#,

Multiply and divide by #sqrt(x-a)#

#y = x^2# for #x >=1#

graph{y =x^2(sqrt(x-1))/(sqrt(x-1)) [-14.4, 17.64, -5.39, 10.6]}