fbpx
Wikipedia

Scaling (geometry)

In affine geometry, uniform scaling (or isotropic scaling[1]) is a linear transformation that enlarges (increases) or shrinks (diminishes) objects by a scale factor that is the same in all directions. The result of uniform scaling is similar (in the geometric sense) to the original. A scale factor of 1 is normally allowed, so that congruent shapes are also classed as similar. Uniform scaling happens, for example, when enlarging or reducing a photograph, or when creating a scale model of a building, car, airplane, etc.

Each iteration of the Sierpinski triangle contains triangles related to the next iteration by a scale factor of 1/2

More general is scaling with a separate scale factor for each axis direction. Non-uniform scaling (anisotropic scaling) is obtained when at least one of the scaling factors is different from the others; a special case is directional scaling or stretching (in one direction). Non-uniform scaling changes the shape of the object; e.g. a square may change into a rectangle, or into a parallelogram if the sides of the square are not parallel to the scaling axes (the angles between lines parallel to the axes are preserved, but not all angles). It occurs, for example, when a faraway billboard is viewed from an oblique angle, or when the shadow of a flat object falls on a surface that is not parallel to it.

When the scale factor is larger than 1, (uniform or non-uniform) scaling is sometimes also called dilation or enlargement. When the scale factor is a positive number smaller than 1, scaling is sometimes also called contraction or reduction.

In the most general sense, a scaling includes the case in which the directions of scaling are not perpendicular. It also includes the case in which one or more scale factors are equal to zero (projection), and the case of one or more negative scale factors (a directional scaling by -1 is equivalent to a reflection).

Scaling is a linear transformation, and a special case of homothetic transformation (scaling about a point). In most cases, the homothetic transformations are non-linear transformations.

Uniform scaling edit

 
Each iteration of the Sierpinski triangle contains triangles related to the next iteration by a scale factor of 1/2

A scale factor is usually a decimal which scales, or multiplies, some quantity. In the equation y = Cx, C is the scale factor for x. C is also the coefficient of x, and may be called the constant of proportionality of y to x. For example, doubling distances corresponds to a scale factor of two for distance, while cutting a cake in half results in pieces with a scale factor for volume of one half. The basic equation for it is image over preimage.

In the field of measurements, the scale factor of an instrument is sometimes referred to as sensitivity. The ratio of any two corresponding lengths in two similar geometric figures is also called a scale.

Matrix representation edit

A scaling can be represented by a scaling matrix. To scale an object by a vector v = (vx, vy, vz), each point p = (px, py, pz) would need to be multiplied with this scaling matrix:

 

As shown below, the multiplication will give the expected result:

 

Such a scaling changes the diameter of an object by a factor between the scale factors, the area by a factor between the smallest and the largest product of two scale factors, and the volume by the product of all three.

The scaling is uniform if and only if the scaling factors are equal (vx = vy = vz). If all except one of the scale factors are equal to 1, we have directional scaling.

In the case where vx = vy = vz = k, scaling increases the area of any surface by a factor of k2 and the volume of any solid object by a factor of k3.

Scaling in arbitrary dimensions edit

In  -dimensional space  , uniform scaling by a factor   is accomplished by scalar multiplication with  , that is, multiplying each coordinate of each point by  . As a special case of linear transformation, it can be achieved also by multiplying each point (viewed as a column vector) with a diagonal matrix whose entries on the diagonal are all equal to  , namely   .

Non-uniform scaling is accomplished by multiplication with any symmetric matrix. The eigenvalues of the matrix are the scale factors, and the corresponding eigenvectors are the axes along which each scale factor applies. A special case is a diagonal matrix, with arbitrary numbers   along the diagonal: the axes of scaling are then the coordinate axes, and the transformation scales along each axis   by the factor  .

In uniform scaling with a non-zero scale factor, all non-zero vectors retain their direction (as seen from the origin), or all have the direction reversed, depending on the sign of the scaling factor. In non-uniform scaling only the vectors that belong to an eigenspace will retain their direction. A vector that is the sum of two or more non-zero vectors belonging to different eigenspaces will be tilted towards the eigenspace with largest eigenvalue.

Using homogeneous coordinates edit

In projective geometry, often used in computer graphics, points are represented using homogeneous coordinates. To scale an object by a vector v = (vx, vy, vz), each homogeneous coordinate vector p = (px, py, pz, 1) would need to be multiplied with this projective transformation matrix:

 

As shown below, the multiplication will give the expected result:

 

Since the last component of a homogeneous coordinate can be viewed as the denominator of the other three components, a uniform scaling by a common factor s (uniform scaling) can be accomplished by using this scaling matrix:

 

For each vector p = (px, py, pz, 1) we would have

 

which would be equivalent to

 

Function dilation and contraction edit

Given a point  , the dilation associates it with the point   through the equations

  for  .

Therefore, given a function  , the equation of the dilated function is

 

Particular cases edit

If  , the transformation is horizontal; when  , it is a dilation, when  , it is a contraction.

If  , the transformation is vertical; when   it is a dilation, when  , it is a contraction.

If   or  , the transformation is a squeeze mapping.

See also edit

Footnotes edit

  1. ^ Durand; Cutler. "Transformations" (PowerPoint). Massachusetts Institute of Technology. Retrieved 12 September 2008.

External links edit


scaling, geometry, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, scaling, geometry, news, newspapers, books, schol. This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Scaling geometry news newspapers books scholar JSTOR April 2008 Learn how and when to remove this template message In affine geometry uniform scaling or isotropic scaling 1 is a linear transformation that enlarges increases or shrinks diminishes objects by a scale factor that is the same in all directions The result of uniform scaling is similar in the geometric sense to the original A scale factor of 1 is normally allowed so that congruent shapes are also classed as similar Uniform scaling happens for example when enlarging or reducing a photograph or when creating a scale model of a building car airplane etc Each iteration of the Sierpinski triangle contains triangles related to the next iteration by a scale factor of 1 2More general is scaling with a separate scale factor for each axis direction Non uniform scaling anisotropic scaling is obtained when at least one of the scaling factors is different from the others a special case is directional scaling or stretching in one direction Non uniform scaling changes the shape of the object e g a square may change into a rectangle or into a parallelogram if the sides of the square are not parallel to the scaling axes the angles between lines parallel to the axes are preserved but not all angles It occurs for example when a faraway billboard is viewed from an oblique angle or when the shadow of a flat object falls on a surface that is not parallel to it When the scale factor is larger than 1 uniform or non uniform scaling is sometimes also called dilation or enlargement When the scale factor is a positive number smaller than 1 scaling is sometimes also called contraction or reduction In the most general sense a scaling includes the case in which the directions of scaling are not perpendicular It also includes the case in which one or more scale factors are equal to zero projection and the case of one or more negative scale factors a directional scaling by 1 is equivalent to a reflection Scaling is a linear transformation and a special case of homothetic transformation scaling about a point In most cases the homothetic transformations are non linear transformations Contents 1 Uniform scaling 2 Matrix representation 2 1 Scaling in arbitrary dimensions 3 Using homogeneous coordinates 4 Function dilation and contraction 4 1 Particular cases 5 See also 6 Footnotes 7 External linksUniform scaling edit nbsp Each iteration of the Sierpinski triangle contains triangles related to the next iteration by a scale factor of 1 2A scale factor is usually a decimal which scales or multiplies some quantity In the equation y Cx C is the scale factor for x C is also the coefficient of x and may be called the constant of proportionality of y to x For example doubling distances corresponds to a scale factor of two for distance while cutting a cake in half results in pieces with a scale factor for volume of one half The basic equation for it is image over preimage In the field of measurements the scale factor of an instrument is sometimes referred to as sensitivity The ratio of any two corresponding lengths in two similar geometric figures is also called a scale Matrix representation editA scaling can be represented by a scaling matrix To scale an object by a vector v vx vy vz each point p px py pz would need to be multiplied with this scaling matrix S v v x 0 0 0 v y 0 0 0 v z displaystyle S v begin bmatrix v x amp 0 amp 0 0 amp v y amp 0 0 amp 0 amp v z end bmatrix nbsp As shown below the multiplication will give the expected result S v p v x 0 0 0 v y 0 0 0 v z p x p y p z v x p x v y p y v z p z displaystyle S v p begin bmatrix v x amp 0 amp 0 0 amp v y amp 0 0 amp 0 amp v z end bmatrix begin bmatrix p x p y p z end bmatrix begin bmatrix v x p x v y p y v z p z end bmatrix nbsp Such a scaling changes the diameter of an object by a factor between the scale factors the area by a factor between the smallest and the largest product of two scale factors and the volume by the product of all three The scaling is uniform if and only if the scaling factors are equal vx vy vz If all except one of the scale factors are equal to 1 we have directional scaling In the case where vx vy vz k scaling increases the area of any surface by a factor of k2 and the volume of any solid object by a factor of k3 Scaling in arbitrary dimensions edit In n displaystyle n nbsp dimensional space R n displaystyle mathbb R n nbsp uniform scaling by a factor v displaystyle v nbsp is accomplished by scalar multiplication with v displaystyle v nbsp that is multiplying each coordinate of each point by v displaystyle v nbsp As a special case of linear transformation it can be achieved also by multiplying each point viewed as a column vector with a diagonal matrix whose entries on the diagonal are all equal to v displaystyle v nbsp namely v I displaystyle vI nbsp Non uniform scaling is accomplished by multiplication with any symmetric matrix The eigenvalues of the matrix are the scale factors and the corresponding eigenvectors are the axes along which each scale factor applies A special case is a diagonal matrix with arbitrary numbers v 1 v 2 v n displaystyle v 1 v 2 ldots v n nbsp along the diagonal the axes of scaling are then the coordinate axes and the transformation scales along each axis i displaystyle i nbsp by the factor v i displaystyle v i nbsp In uniform scaling with a non zero scale factor all non zero vectors retain their direction as seen from the origin or all have the direction reversed depending on the sign of the scaling factor In non uniform scaling only the vectors that belong to an eigenspace will retain their direction A vector that is the sum of two or more non zero vectors belonging to different eigenspaces will be tilted towards the eigenspace with largest eigenvalue Using homogeneous coordinates editIn projective geometry often used in computer graphics points are represented using homogeneous coordinates To scale an object by a vector v vx vy vz each homogeneous coordinate vector p px py pz 1 would need to be multiplied with this projective transformation matrix S v v x 0 0 0 0 v y 0 0 0 0 v z 0 0 0 0 1 displaystyle S v begin bmatrix v x amp 0 amp 0 amp 0 0 amp v y amp 0 amp 0 0 amp 0 amp v z amp 0 0 amp 0 amp 0 amp 1 end bmatrix nbsp As shown below the multiplication will give the expected result S v p v x 0 0 0 0 v y 0 0 0 0 v z 0 0 0 0 1 p x p y p z 1 v x p x v y p y v z p z 1 displaystyle S v p begin bmatrix v x amp 0 amp 0 amp 0 0 amp v y amp 0 amp 0 0 amp 0 amp v z amp 0 0 amp 0 amp 0 amp 1 end bmatrix begin bmatrix p x p y p z 1 end bmatrix begin bmatrix v x p x v y p y v z p z 1 end bmatrix nbsp Since the last component of a homogeneous coordinate can be viewed as the denominator of the other three components a uniform scaling by a common factor s uniform scaling can be accomplished by using this scaling matrix S v 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 s displaystyle S v begin bmatrix 1 amp 0 amp 0 amp 0 0 amp 1 amp 0 amp 0 0 amp 0 amp 1 amp 0 0 amp 0 amp 0 amp frac 1 s end bmatrix nbsp For each vector p px py pz 1 we would have S v p 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 s p x p y p z 1 p x p y p z 1 s displaystyle S v p begin bmatrix 1 amp 0 amp 0 amp 0 0 amp 1 amp 0 amp 0 0 amp 0 amp 1 amp 0 0 amp 0 amp 0 amp frac 1 s end bmatrix begin bmatrix p x p y p z 1 end bmatrix begin bmatrix p x p y p z frac 1 s end bmatrix nbsp which would be equivalent to s p x s p y s p z 1 displaystyle begin bmatrix sp x sp y sp z 1 end bmatrix nbsp Function dilation and contraction editGiven a point P x y displaystyle P x y nbsp the dilation associates it with the point P x y displaystyle P x y nbsp through the equations x m x y n y displaystyle begin cases x mx y ny end cases nbsp for m n R displaystyle m n in mathbb R nbsp Therefore given a function y f x displaystyle y f x nbsp the equation of the dilated function is y n f x m displaystyle y nf left frac x m right nbsp Particular cases edit If n 1 displaystyle n 1 nbsp the transformation is horizontal when m gt 1 displaystyle m gt 1 nbsp it is a dilation when m lt 1 displaystyle m lt 1 nbsp it is a contraction If m 1 displaystyle m 1 nbsp the transformation is vertical when n gt 1 displaystyle n gt 1 nbsp it is a dilation when n lt 1 displaystyle n lt 1 nbsp it is a contraction If m 1 n displaystyle m 1 n nbsp or n 1 m displaystyle n 1 m nbsp the transformation is a squeeze mapping See also edit nbsp Mathematics portal2D computer graphics Scaling Digital zoom Dilation metric space Homogeneous function Homothetic transformation Orthogonal coordinates Scalar mathematics Scale disambiguation Scale ratio Scale map Scale factor computer science Scale factor cosmology Scales of scale models Scaling in statistical estimation Scaling in gravity Squeeze mapping Transformation matrix Image scalingFootnotes edit Durand Cutler Transformations PowerPoint Massachusetts Institute of Technology Retrieved 12 September 2008 External links edit nbsp Wikimedia Commons has media related to Scaling geometry Understanding 2D Scaling and Understanding 3D Scaling by Roger Germundsson The Wolfram Demonstrations Project Scale Factor Calculator Retrieved from https en wikipedia org w index php title Scaling geometry amp oldid 1186226334, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.